let baseUrl = "https://m1.apifoxmock.com/m1/4728220-0-default/api"
export default function http(url,data={},method='GET') {
     return new Promise((resolve,reject)=>{
         uni.request({
             url:baseUrl+url,
             data,
             method,
             header:{
                 'token':uni.getSystemInfoSync()
             }
         })
     })
}
